package com.dingwei.lesyndrome.bean;

import com.dingwei.lesyndrome.base.MyBaseBean;

import java.util.List;

/**
 * Created time 2018/2/28.
 * Creator 南柯一梦丶 on
 * Personal signature 余生还长 何必慌张
 * Page description :
 */

public class MainBean extends MyBaseBean{
    /**
     * data : {"minfo":{"id":"1","phone":"15123383572","nickname":"张三","wxkey":"","qqkey":"","sex":"0","showSex":"未设置","showHportrait":"http://localhost/bus/static/img/portrait_f.png"},"adList":[{"id":"2","img":"http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945","url":"http://www.baidu.com"}],"perCateList":[{"id":"2","name":"精选商户","icon":"http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945"}],"peripheryList":[{"id":"2","cid":"2","cname":"精选商户","title":"仙女山重庆出发1日游","views":"0","distance":"9151123.76","img":"http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945"}]}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * minfo : {"id":"1","phone":"15123383572","nickname":"张三","wxkey":"","qqkey":"","sex":"0","showSex":"未设置","showHportrait":"http://localhost/bus/static/img/portrait_f.png"}
         * adList : [{"id":"2","img":"http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945","url":"http://www.baidu.com"}]
         * perCateList : [{"id":"2","name":"精选商户","icon":"http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945"}]
         * peripheryList : [{"id":"2","cid":"2","cname":"精选商户","title":"仙女山重庆出发1日游","views":"0","distance":"9151123.76","img":"http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945"}]
         */

        public MinfoBean minfo;
        public List<AdListBean> adList;
        public List<PerCateListBean> perCateList;
        public List<PeripheryListBean> peripheryList;

        public static class MinfoBean {
            /**
             * id : 1
             * phone : 15123383572
             * nickname : 张三
             * wxkey :
             * qqkey :
             * sex : 0
             * showSex : 未设置
             * showHportrait : http://localhost/bus/static/img/portrait_f.png
             */

            public String id;
            public String phone;
            public String nickname;
            public String wxkey;
            public String qqkey;
            public String sex;
            public String showSex;
            public String showHportrait;
        }

        public static class AdListBean {
            /**
             * id : 2
             * img : http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945
             * url : http://www.baidu.com
             */

            public String id;
            public String img;
            public String url;
        }

        public static class PerCateListBean {
            /**
             * id : 2
             * name : 精选商户
             * icon : http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945
             */

            public String id;
            public String name;
            public String icon;
        }

        public static class PeripheryListBean {
            /**
             * id : 2
             * cid : 2
             * cname : 精选商户
             * title : 仙女山重庆出发1日游
             * views : 0
             * distance : 9151123.76
             * img : http://localhost/bus/uploads/advert/img_15196389032150.png?r=823945
             */

            public String id;
            public String cid;
            public String cname;
            public String title;
            public String views;
            public double distance;
            public String img;
        }
    }
}
